package folexpr.compiler.visitors.i_removebracket;

public class RemoveUnneededBracketVisitParameter
{
	private boolean insideImplic = false;
	public boolean isInsideImplic() { return insideImplic; }
	public void setInsideImplic(boolean insideImplic) {	this.insideImplic = insideImplic; }	
		
	private boolean insideDisg = false;
	public boolean isInsideDisg() { return insideDisg; }
	public void setInsideDisg(boolean insideDisg) {	this.insideDisg = insideDisg; }	

	private boolean insideCong = false;
	public boolean isInsideCong() { return insideCong; }
	public void setInsideCong(boolean insideCong) {	this.insideCong = insideCong; }	
	
	private boolean insideUnaryOp = false;
	public boolean isInsideUnaryOp() { return insideUnaryOp; }
	public void setInsideUnaryOp(boolean insideUnaryOp) {	this.insideUnaryOp = insideUnaryOp; }
	
	private boolean insideTerm = false;
	public boolean isInsideTerm() { return insideTerm; }
	public void setInsideTerm(boolean insideTerm) {	this.insideTerm = insideTerm; }

	public RemoveUnneededBracketVisitParameter( boolean insideImplic,
												boolean insideDisg, 
												boolean insideCong,
												boolean insideUnaryOp,
												boolean insideTerm)
	{
		this.insideImplic = insideImplic;
		this.insideDisg = insideDisg;
		this.insideCong = insideCong;
		this.insideUnaryOp = insideUnaryOp;
		this.insideTerm = insideTerm;
	}
	
	public RemoveUnneededBracketVisitParameter()
	{
		this.insideImplic = false;
		this.insideDisg = false;
		this.insideCong = false;
		this.insideUnaryOp = false;
		this.insideTerm = false;
	}
	
	
	@Override public String toString()
	{
		return "[I="+this.insideImplic+",D="+this.insideDisg+",C="+this.insideCong+",U="+this.insideUnaryOp+",T="+this.insideTerm+"]";
	}	
	

		
}
